* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.com_loading {
    width: 100%;
}

.notfound {
    font-size: 30px;
    text-align: center;
    font-weight: 900;
    color: red;
}

//注册界面样式
.register {
    text-align: center;
    margin: 20px;

    .title {
        font-weight: 900;
        padding: 50px 0px;
        font-size: 25px;
    }

    .input {
        margin-bottom: 20px;

        input {
            height: 40px;
            width: 100%;
            padding-left: 20px;
            background-color: white;
            border-radius: 5px;
            border: 1px solid rgb(248, 248, 248);
            box-sizing: border-box;
            border-radius: 40px;
        }
    }
}

//登录界面样式
.login {
    text-align: center;
    margin: 20px;

    .title {
        font-weight: 900;
        padding: 50px 0px;
        font-size: 25px;
    }

    .input {
        margin-bottom: 20px;

        input {
            height: 40px;
            width: 100%;
            padding-left: 20px;
            background-color: white;
            border-radius: 5px;
            border: 1px solid rgb(248, 248, 248);
            ;
            box-sizing: border-box;
            border-radius: 40px;
        }
    }
}

//index/home样式
.homeheader {
    display: flex;
    background-color: red;
    padding: 10px;
    align-items: center;

    input {
        flex: 1;
        height: 40px;
        background-color: white;
        border-radius: 10px;
        outline: none;
        text-align: center;
        border: none;
        font-size: 20px;
    }

    span {
        width: 80px;
        text-align: center;
    }

}

.myswiper {
    height: 200px;

    img {
        height: 200px;
        width: 100%;
    }
}

.mycatelist {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .cate {
        width: 20%;
        margin-bottom: 15px;
        text-align: center;

        img {
            width: 80%;
            border-radius: 50%;
        }
    }


}

.homelist {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    margin-bottom: 100px;

    .today {
        font-size: 25px;
        font-weight: 900;
    }

    .goodslist {
        display: flex;
        flex-wrap: wrap;

        .list {
            width: 100px;
            margin-top: 20px;
            margin-left: 25px;

            line-height: 20px;

            img {
                width: 80%;
            }

            .name {
                font-size: 18px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .price {
                color: red;
                background-color: tan;
                opacity: 0.6;
                font-size: 12px;
                font-weight: 600;
            }

            .buyprice {
                color: red;
                font-size: 20px;
                font-weight: 900;
            }
        }
    }
}

//index/cate样式
.cateheader {
    .title {
        text-align: center;
        font-size: 20px;
        font-weight: 900;
    }

    .input {
        margin-top: 10px;
        margin-left: 10px;

        input {
            width: 95%;
            height: 30px;
            background-color: rgb(248, 248, 248);
            ;
            font-size: 18px;
            text-align: center;
        }
    }
}

.tabs {
    flex: 1;
    margin-top: 20px;
    display: flex;
    margin-bottom: 100px;



    .tableft {
        width: 100px;
        overflow-y: scroll;

        .btn {
            line-height: 30px;
            text-align: center;
            color: #555;
            border-left: 3px solid transparent;
            margin-bottom: 10px;
            background-color: rgb(248, 248, 248);
            ;
            padding: 10px;
        }

        .btn.active {
            color: red;
            background-color: white;
            border-left: 3px solid red;
        }
    }


    .tabright {
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        overflow-y: scroll;

        .cate {
            width: 100%;
            margin-bottom: 20px;

            .name {
                text-align: left;
                margin-left: 15px;
                font-weight: 900;
                font-size: 20px;
            }

            .good {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                margin-left: 15px;

                .subname {
                    width: 33%;
                    font-size: 15px;


                    .inname {
                        font-size: 18px;
                        text-align: center;

                    }

                    .img-box {
                        width: 80%;
                        margin-left: 10px;

                    }
                }
            }



            img {
                width: 60%;
            }
        }
    }
}

//index/goods样式
.goodsheader {
    padding: 10px;
    align-items: center;
    background-color: white;

    .title {
        h1 {
            text-align: center;
            font-size: 20px;
        }
    }

    .input {
        width: 100%;

        input {
            width: 100%;
            flex: 1;
            height: 40px;
            border-radius: 5px;
            outline: none;
            border: 1px solid rgb(248, 248, 248);
            background-color: rgb(248, 248, 248);
            text-align: center;
            font-size: 20px;
        }
    }

    .kindlist {
        padding: 15px;
        display: flex;
        justify-content: space-around;

        .name.active {
            color: red
        }
    }
}

.goodslist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: rgb(248, 248, 248);
    margin-bottom: 100px;

    .list {
        background-color: white;
        width: 170px;
        margin-top: 10px;

        img {
            width: 80%;
        }

        .name {
            font-size: 18px;
            font-weight: 900;
            color: black;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

        .price {
            color: orangered;
        }

        .buyprice {
            color: red;
            font-weight: bold;
        }

        .sale {
            font-size: 18px;
            font-weight: bold;
        }
    }
}

//index/shaopcart样式
.shopcartheader {
    .title {
        text-align: center;
        font-size: 20px;
        font-weight: 900;
        margin-top: 10px;
    }

    .header {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;
        padding: 2px 10px;
    }

    .choose {
        display: flex;
        justify-content: space-between;
        padding: 20px;

        .orange {
            color: orange;
            font-weight: 600;
        }

        .black {
            font-weight: 600;
            color: black;
        }
    }
}

.shopcartlist {
    .list {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .input {
            input {
                align-items: center;
                border-radius: 50%;
                width: 20px;
                height: 20px;

                :disabled {
                    color: red;
                }
            }

            input:checked:after {
                color: red;
            }

        }

        .img-box {
            width: 80px;
            margin-left: 10px;
            margin-right: 15px;

            img {
                width: 100%;
            }
        }

        .text {

            flex: 1;

            line-height: 25px;

            .name {
                font-weight: 900;
            }

            .post {
                span {
                    border: 1px solid red;
                    color: orangered;
                    font-size: 12px;
                    padding: 1px;
                }

            }

            .discount {
                span {
                    color: red;
                    padding: 1px;
                    background-color: orange;
                    opacity: 0.3;
                    font-size: 13px;
                }
            }

            .notice {
                span {
                    background-color: tan;
                    opacity: 0.5;
                    color: red;
                    font-weight: 900;
                    font-size: 13px;
                }
            }

            .last {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .price {
                    font-size: 18px;
                    color: red;
                    font-weight: 900;
                }

                .count {
                    margin-right: 10px;
                    display: flex;
                    justify-content: space-around;

                    button {
                        width: 20px;
                        background-color: rgb(248, 248, 248);
                        margin: 0px 5px;
                        border: none;
                    }
                }
            }
        }
    }
}

.mytabbar {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: white;
    box-sizing: border-box;

    .goodprice {
        height: 70px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .allprice {
            display: flex;
            justify-content: space-between;
            align-items: center;

            span {
                margin-right: 15px;
            }

            .red {
                font-size: 23px;
                font-weight: 900;
                color: red;
            }

            button {
                width: 110px;
                height: 40px;
                border-radius: 50px;
                background-color: red;
                color: white;
                font-size: 18px;
                border: none;
                font-weight: 900;
            }
        }
    }

    .footer {
        width: 100%;
        display: flex;
        justify-content: space-around;

        .tab {
            width: 20%;

            text-align: center;

            img {
                width: 30%;
            }
        }
    }
}

//index/mine样式
.myheader {
    height: 170px;
    background: url(./assets/background.jpg) center;

    img {
        width: 15%;
        border: 1px solid black;
        border-radius: 50%;
        margin-top: 75px;
        margin-left: 30px;
    }
}

.mymain {
    display: flex;
    background-color: rgb(248, 248, 248);
    flex-direction: column;
    margin-bottom: 50px;

    .center {
        background-color: white;
        display: flex;
        justify-content: space-between;
        height: 80px;
        width: 95%;
        margin: 20px auto;
        border-radius: 10px;

        div {
            margin-top: 20px;
            text-align: center;
            width: 30%;
            display: flex;
            flex-direction: column;
            font-size: 17px;
            font-weight: 900;

            span {
                color: black;
            }
        }
    }

    .myorder {
        background-color: white;
        width: 95%;
        margin: 0 auto;
        border-radius: 10px;

        .title {
            width: 95%;
            display: flex;
            justify-content: space-between;
            margin: 0 auto;

            .order {
                font-size: 20px;
                font-weight: 900;
            }
        }

        .deal {
            margin-top: 20px;
            display: flex;
            justify-content: space-around;

            div {

                text-align: center;
                width: 30%;
                display: flex;
                flex-direction: column;
                font-size: 17px;
                font-weight: 900;

                span {
                    margin-bottom: 5px;
                }

                .antd-mobile-icon {
                    font-size: 30px;
                }

            }
        }
    }

    .member {
        background-color: white;
        width: 95%;
        margin: 10px auto;
        border-radius: 10px;
    }

    .function {
        margin-top: 20px;
        background-color: white;
        width: 95%;
        margin: 10px auto;
        border-radius: 10px;
    }
}

//商品详情
.product {
    .adm-nav-bar-title {
        font-weight: 900;
    }

    .productpic {
        width: 100%;
        height: 380px;

        img {
            width: 100%;
        }
    }

    .price {
        margin-left: 15px;
        height: 50px;
        display: flex;
        flex-direction: column;

        span {
            color: red;

        }
    }

    .introduce {
        margin-left: 15px;

        span {
            padding: 0 5px;
            color: red;
            border: 1px solid red
        }

        .name {
            margin-top: 10px;
            font-weight: 600;
            font-size: 18px
        }

        .engname {
            margin-top: 10px;
            color: #ccc;
        }
    }



    .footer {
        width: 100%;
        height: 50px;
        position: fixed;
        bottom: 0px;
        display: flex;
        justify-content: space-around;
        align-items: center;

        .left {
            width: 50%;
            display: flex;
            justify-content: space-around;

            .block {
                display: flex;
                flex-direction: column;
                align-items: center;
                font-size: 18px;

                .small {
                    font-size: 12px;
                }
            }
        }

        .right {
            width: 50%;
            margin-left: 20px;

            .orange {
                width: 85px;
                height: 30px;
                background-color: orange;
                color: white;
                border-top-left-radius: 30px;
                border-bottom-left-radius: 30px;
                border: none;
                text-align: center;
                line-height: 30px;
            }

            .red {
                width: 85px;
                height: 30px;
                background-color: red;
                color: white;
                border-top-right-radius: 30px;
                border-bottom-right-radius: 30px;
                border: none;
                text-align: center;
                line-height: 30px;
            }
        }
    }
}

//搜索页面
.adm-nav-bar-title {
    font-weight: 900;
}

.nearsearch {
    margin-top: 25px;

    .title {
        margin-left: 15px;
        display: flex;
        justify-content: space-between;
        font-weight: 900;
        font-size: 20px;

        .del {
            margin-right: 15px;
        }
    }

    .list {
        span {
            margin-bottom: 15px;
            display: inline-block;
            background-color: rgb(248, 248, 248);
            color: black;
            margin-left: 15px;
            padding: 10px;
            font-size: 18px;
            border-radius: 10px;

        }
    }
}

.hotsearch {
    margin-top: 20px;

    .title {
        margin-left: 15px;
        font-weight: 900;
        font-size: 20px;
    }

    .list {
        margin-top: 30px;

        span {
            display: inline-block;

            background-color: rgb(248, 248, 248);
            color: black;
            margin-left: 15px;
            padding: 10px;
            font-size: 18px;
            border-radius: 10px;
        }
    }
}

h2 {
    margin-left: 15px;
    margin-top: 20px;
}

.searchlist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: rgb(248, 248, 248);
    margin-bottom: 100px;
    margin-top: 15px;
    // .empty{
    //     font-weight: 900;
    //     font-size: 20px;
    //     text-align: center;
    // }

    .list {
        background-color: white;
        width: 170px;
        margin-top: 10px;

        img {
            width: 80%;
        }

        .name {
            font-size: 18px;
            font-weight: 900;
            color: black;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

        .price {
            .name {
                color: orangered;
            }

            .value {
                color: red;
                font-weight: bold;
            }
        }
    }
}
.empty{
    text-align: center;
    font-size: 20px;
    font-weight: 900;
}





//收藏列表
.collect {
    .adm-nav-bar-title {
        font-weight: 900;
    }

    .good {

        display: flex;

        .img-box {
            img {

                width: 120px;
                height: 120px;
                // background-color: skyblue;
                margin-left: 10px;
                margin-right: 10px;
            }
        }

        .text {
            flex: 1;
            margin-right: 10px;

            .name {
                font-size: 15px;
                font-weight: 900;
                margin-bottom: 10px;
            }

            .free {

                color: red;
                border: 1px solid red;
                padding: 2px;
            }

            .price {
                display: flex;
                justify-content: space-between;
                margin-top: 30px;

                span {
                    color: red;
                }

                button {
                    border-radius: 25px;
                    width: 80px;
                    height: 25px;
                    background-color: white;
                }
            }
        }
    }
}























































































.mytabbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0px;
    left: 0px;
    box-sizing: border-box;
    background-color: white;

    .adm-tab-bar {
        width: 100%;
        display: flex;
        justify-content: space-between;

        .adm-tab-bar-wrap {
            width: 100%;
        }
    }

    .tab {
        width: 20%;

        text-align: center;

        img {
            width: 50%;
        }
    }
}